.shopCar {
    .shopCar-kong {
        margin: 80px 0;

        .pic {
            width: 144px;
            height: 141px;
            margin: 0 auto;
        }

        .txts {
            margin: 20px auto;
            p {
                text-align: center;
                font-size: 14px;
            }
        }

        .btn {
            width: 158px;
            height: 38px;
            margin: 0 auto;

            button {
                width: 100%;
                height: 100%;
                background-color: #f04146;
                border: 0;
                color: white;
            }
        }
    }
    .shopCar-son{
        .shopCar-header{
            height: 57px;
            display: flex;
            p{
                width: 130px;
                display: inline-block;
                line-height: 57px;
                &:nth-child(1){
                    width: 90px;
                    text-indent: 1em;
                }
                &:nth-child(2){
                    width: 650px;
                    text-indent: 10em;
                }
                &:nth-child(6){
                    text-align: center;
                    width: 75px;
                }
                &:nth-child(3),
                &:nth-child(4),
                &:nth-child(5){
                    text-align: center;
                }
            }
        }
        .shopCar-content{
            .content-content{
                width: 100%;
                display: flex;
                padding: 22px 0;
                height: 96px;
                background-color: #fafafa;
                margin-top: 10px;
                .singleChoice{
                    width: 90px;
                    line-height: 96px;
                    text-indent: 1em;
                }
                .shopCar-commodity{
                    display: flex;
                    width: 650px;
                    .shopCar-pic{
                        width: 95px;
                        height: 95px;
                        overflow: hidden;
                        border: 1px solid rgb(205, 205, 205);
                        margin: 0 10px;
                    }
                    .shopCar-xinxi{
                        p{
                            &:nth-child(2){
                                margin: 7px 0;
                                color: #b2b2b2;
                                font-size: 14px;
                            }
                            &:nth-child(3){
                                display: inline-block;
                                padding: 2px 7px;
                                background-color: #f16062;
                                font-size: 12px;
                                color: white;
                                border-radius: 5px;
                            }
                        }
                    }
                }
                .unitPrice{
                    width: 130px;
                    text-align: center;
                    p{
                        &:nth-child(1){
                            font-size: 14px;
                            color: black;
                            margin-bottom: 6px;
                        }
                        &:nth-child(2){
                            font-size: 10px;
                            color: #9c9c9c;
                            text-decoration:line-through;
                        }
                    }
                }
                .shopCar-quantity{
                    width: 130px;
                    .quantity-son{
                        width: 90px;
                        height: 25px;
                        border: 1px solid #999;
                        display: flex;
                        margin: 0 auto;
                        input{
                            width: 50px;
                            border: 0;
                            outline: none;
                            text-align: center;
                            background-color:#fafafa ;
                        }
                        span{
                            display: block;
                            width: 19px;
                            height: 100%;
                            text-align: center;
                            line-height: 25px;
                            &:nth-child(1){
                                border-right: 1px solid #999;
                            }
                            &:nth-child(3){
                                border-left: 1px solid #999;
                            }
                        }
                    }
                }
                .subtotal{
                    width: 130px;
                    text-align: center;
                    color: red;
                }
                .operation{
                    width: 75px;
                    text-align: center;
                }
            }
        }
        .shopCar-foot{
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 54px;
            background-color: #f6f6f6;
            margin-top: 20px;
            .jishu{
                text-indent: 1em;
                span{
                    color: red;
                }
            }
            .foot-right{
                display: flex;
                .totalPrice{
                    line-height: 54px;
                    margin-right: 20px;
                    span{
                        &:nth-child(1){
                            font-size: 12px;
                            color: rgb(161, 161, 161);
                        }
                        &:nth-child(2){
                            color: red;
                            font-size: 17px;
                        }
                    }
                }
                .payment{
                    width: 158px;
                    height: 54px;
                    button{
                        border: 0;
                        outline: none;
                        width: 100%;
                        height: 100%;
                        background-color: #f04045;
                        color: white;
                    }
                }
            }
        }
    }
}

.commodity {
    margin-top: 30px;

    ul {
        width: 1220px;
        display: flex;
        flex-wrap: wrap;

        li {
            width: 291px;
            height: 414px;
            overflow: hidden;
            position: relative;
            margin-top: 10px;
            background-color: white;
            margin-right: 10px;

            &:hover {
                box-shadow: 2px 2px 8px 0px rgb(223, 223, 223);
                transform: translateY(0.5px);
            }

            .pic {
                text-align: center;
            }

            .introduce {
                margin-top: 35px;
                padding: 0 15px;
                text-align: center;

                p {
                    &:nth-child(2) {
                        font-size: 14px;
                        color: #464646;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        margin-top: 9px;
                        margin-bottom: 20px;
                    }

                    &:nth-child(3) {
                        span {
                            &:nth-child(1) {
                                color: red;
                            }

                            &:nth-child(2) {
                                font-size: 14px;
                                color: rgb(126, 126, 126);
                                text-decoration: line-through;
                            }
                        }
                    }
                }
            }
        }
    }

    .comment {
        p {
            &:nth-child(1) {
                word-break: break-all;
                text-overflow: ellipsis;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                margin-bottom: 10px;
                font-size: 12px;
                left: 0;
                color: white;
            }

            &:nth-child(2) {
                color: white;
            }
        }
    }
}